## 8.2. ScriptAliasMatch

>     ScriptAliasMatch regex directory_or_filename
>     Server config, virtual host

The supplied regular expression is matched against the URL, and if it matches, the server will substitute any parenthesized matches into the given string and use them as a filename. For example, to activate the standard /cgi-bin, one might use:

>     ScriptAliasMatch ^/cgi-bin/(.*) /usr/local/apache/cgi-bin/$1

Copyright © 2001 O'Reilly & Associates. All rights reserved.